/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.src.uniandes.ecos.tsp.creditscore.main;

import com.src.uniandes.ecos.tsp.creditscore.uc001.CreditScorePanel;
import java.awt.Container;
import java.awt.GridLayout;
import javax.swing.JFrame;

/**
 *
 * @author user
 */
public class MainFrame extends JFrame {

    /**
     * ancho del frame.
     */
    private static final int FWITH = 800;

    /**
     * alto del frame.
     */
    private static final int FHEIGHT = 300;

    /**
     *
     */
    public MainFrame() {
        super("Credit Score App");

        final Container contenedor = this.getContentPane();
        final CreditScorePanel creditScorePanel = new CreditScorePanel();

        contenedor.setLayout(new GridLayout(1, 1));
        contenedor.add(creditScorePanel);

        setSize(FWITH, FHEIGHT);
        setVisible(true);
    }

}
